﻿namespace DDD.Common.Const
{
    public sealed class AppSettingsConst
    {

        public class ConnectionString
        {
            /// <summary>
            /// 写数据库的字符串
            /// </summary>
            public const string WRITE = "Write";

            /// <summary>
            /// 读数据库的字符串
            /// </summary>
            public const string READ = "Read";
        }

        public class RabbitMq
        {
            public const string HOST = "RabbitMq:Host";

            public const string USERNAME = "RabbitMq:UserName";

            public const string PASSWORD = "RabbitMq:Password";

            public const string VIRTUAL_HOST = "RabbitMq:VirtualHost";
        }

        public class MinIO
        {
            public const string ACCESS_KEY = "MinIO:AccessKey";

            public const string SERECT_KEY = "MinIO:SerectKey";

            public const string ENDPOINT = "MinIO:EndPoint";
        }

        public class OAuth
        {
            public const string CALLBACK_PATH = "OAuth:CallbackPath";

            public const string CLIENT_ID = "OAuth:ClientId";

            public const string CLIENT_SECRET = "OAuth:ClientSecret";

            public const string AUTHORIZATION_ENDPOINT = "OAuth:AuthorizationEndpoint";

            public const string TOKEN_ENDPOINT = "OAuth:TokenEndpoint";

            public const string SCOPE = "OAuth:Scopes";
        }

    }
}
